<?php

namespace Portal\SearchBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TutorConfirmHash
 */
class TutorConfirmHash
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var integer
     */
    private $tutorId;

    /**
     * @var string
     */
    private $email;

    /**
     * @var string
     */
    private $hash;

    /**
     * @var integer
     */
    private $isActive;

    /**
     * @var integer
     */
    private $isUsed;

    /**
     * @var \DateTime
     */
    private $createdAt;

    /**
     * @var \DateTime
     */
    private $updatedAt;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set tutorId
     *
     * @param integer $tutorId
     * @return TutorConfirmHash
     */
    public function setTutorId($tutorId)
    {
        $this->tutorId = $tutorId;
    
        return $this;
    }

    /**
     * Get tutorId
     *
     * @return integer 
     */
    public function getTutorId()
    {
        return $this->tutorId;
    }

    /**
     * Set email
     *
     * @param string $email
     * @return TutorConfirmHash
     */
    public function setEmail($email)
    {
        $this->email = $email;
    
        return $this;
    }

    /**
     * Get email
     *
     * @return string 
     */
    public function getEmail()
    {
        return $this->email;
    }

    /**
     * Set hash
     *
     * @param string $hash
     * @return TutorConfirmHash
     */
    public function setHash($hash)
    {
        $this->hash = $hash;
    
        return $this;
    }

    /**
     * Get hash
     *
     * @return string 
     */
    public function getHash()
    {
        return $this->hash;
    }

    /**
     * Set isActive
     *
     * @param integer $isActive
     * @return TutorConfirmHash
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;
    
        return $this;
    }

    /**
     * Get isActive
     *
     * @return integer 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set isUsed
     *
     * @param integer $isUsed
     * @return TutorConfirmHash
     */
    public function setIsUsed($isUsed)
    {
        $this->isUsed = $isUsed;
    
        return $this;
    }

    /**
     * Get isUsed
     *
     * @return integer 
     */
    public function getIsUsed()
    {
        return $this->isUsed;
    }

    /**
     * Set createdAt
     *
     * @param \DateTime $createdAt
     * @return TutorConfirmHash
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;
    
        return $this;
    }

    /**
     * Get createdAt
     *
     * @return \DateTime 
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }

    /**
     * Set updatedAt
     *
     * @param \DateTime $updatedAt
     * @return TutorConfirmHash
     */
    public function setUpdatedAt($updatedAt)
    {
        $this->updatedAt = $updatedAt;
    
        return $this;
    }

    /**
     * Get updatedAt
     *
     * @return \DateTime 
     */
    public function getUpdatedAt()
    {
        return $this->updatedAt;
    }
}
